﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OA.DBUtility;

namespace OA.Model
{
    [MappingTable("ProjectPayment")]
    public class ProjectPaymentInfo
    {
        #region Model
        private int _id;
        private int? _billid;
        private DateTime? _paytime;
        private decimal? _payamount;
        private string _receivecompany;
        private decimal? _paytotal;
        /// <summary>
        /// 
        /// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("BillId")]
        public int? BillId
        {
            set { _billid = value; }
            get { return _billid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("PayTime")]
        public DateTime? PayTime
        {
            set { _paytime = value; }
            get { return _paytime; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("PayAmount")]
        public decimal? PayAmount
        {
            set { _payamount = value; }
            get { return _payamount; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("ReceiveCompany")]
        public string ReceiveCompany
        {
            set { _receivecompany = value; }
            get { return _receivecompany; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataField("PayTotal")]
        public decimal? PayTotal
        {
            set { _paytotal = value; }
            get { return _paytotal; }
        }
        #endregion Model
    }
}
